<template>
  <div class="information">
    <el-tabs v-model="activeName" class="demo-tabs" @tab-click="handleClick">
      <el-tab-pane label="任务进度" name="first">
        <taskProgress></taskProgress>
      </el-tab-pane>
      <el-tab-pane label="项目总览" name="second">
        <projectOverview></projectOverview>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>
<script lang="ts" setup>
import { ref } from "vue";
import type { TabsPaneContext } from "element-plus";
//@ts-ignore
import projectOverview from "./projectOverview.vue";
//@ts-ignore
import taskProgress from "./taskProgress.vue";

const activeName = ref("first");

const handleClick = (tab: TabsPaneContext, event: Event) => {
  console.log(tab, event);
};
</script>
<style >
.el-tabs__header {
  padding: 10px 20px 0px 20px;
  position: relative;
}
</style>
<style lang="scss" scoped>
</style>


